<?php
 = mysql_connect('localhost', 'test', 'password') or die(mysql_error());
mysql_select_db('sampletest2',$conn)  or die(mysql_error());
?>